package com.laolang.ssh.v1.pojo;

import java.util.List;

import com.google.gson.annotations.SerializedName;
import com.laolang.ssh.domain.BookType;

public class BookTypeResultPojo {

	public BookTypeResultPojo() {
		super();
	}

	public BookTypeResultPojo(Integer resultCode, List<BookType> bookTypes) {
		this.result = new ResultPojo(resultCode);
		this.bookTypePojos = BookTypePojo.getBookTypePojos(bookTypes);
	}

	@Override
	public String toString() {
		return "BookTypeResultPojo [result=" + result + ", bookTypePojos=" + bookTypePojos + "]";
	}

	public ResultPojo getResult() {
		return result;
	}

	public void setResult(ResultPojo result) {
		this.result = result;
	}

	public List<BookTypePojo> getBookTypePojos() {
		return bookTypePojos;
	}

	public void setBookTypePojos(List<BookTypePojo> bookTypePojos) {
		this.bookTypePojos = bookTypePojos;
	}

	@SerializedName("result")
	private ResultPojo result;

	@SerializedName("bookTypePojos")
	private List<BookTypePojo> bookTypePojos;

}
